<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="css/index.css">
    <script src="js/login.js"></script>

</head>

<body>

    <div class="header">
        <h1>房屋租赁系统用户注册</h1>
    </div>
    <div class="form-container">
        <div class="left"></div>
        <div class="right">
            <form action="Receive.php" method="GET" onsubmit="return checkForm()">
                <div class="username-div">
                    <input id="username" type="text" onfocus="shoeTips('hint','用户名长度不能小于3')" onblur="hint_hide()" onkeyup="hint()"    name="username" placeholder="用户名">
                    <span id="hint"></span>
                </div>
                <div class="IDnum-div">
                    <input id="IDnum" type="text" onfocus="shoeTips('IDhint','输入合适的身份证号码')" onblur="IDnum_hide()" onkeyup="checkIDnum()" name="IDnum" placeholder="身份证号">
                    <span id="IDhint"></span>
                </div>
                <div id="phone-div">
                    <input id="phone" type="text" onfocus="shoeTips('phonehint','电话号码应小于11位')" onblur="phone_hide()" onkeyup="phonehint()" name="phone" placeholder="电话">
                    <span id="phonehint"></span>
                </div>
                <div class="email-div">
                    <input id="email" type="email" onfocus="shoeTips('email_hint','邮箱应包含@.')" onblur="emailHide()" onkeyup="emailCheck()" name="email" placeholder="邮箱">
                    <span id="email_hint"></span>
                    <p id="repassw-err"></p>
                </div>
                <div class="verifi-div">
                    <input id="input-code" type="text" onfocus="shoeTips('codehint','请输入正确的验证码')" onblur="code_hide()" onkeyup="checkcode()" name="input-code" placeholder="请输入验证码">
                    <span id="codehint"></span>
                </div>
                <div class="register-div">
                    <input id="submit" type="submit"   value="注册">
                </div>
            </form>

        </div>
    </div>
    <div class="footer">
        &copy;made by MR Yang <br> Time:2019
    </div>

</body>

</html>